#include <stdlib.h>
#include <stdio.h>
#include "Functions.h"

int main(int argc, char **argv) {
    FileStruct *image = malloc(sizeof(FileStruct));
    Bmp_Image *bmp = malloc(sizeof(Bmp_Image));
	char *finalcode = NULL;
	
	finalcode = ReadFileCode(argv[1], image, bmp); 	
	printf("image->codeB[0]: %s\n", image->codeB[0]);
	/* printf("Tamanho dos dados: %ld\n", strlen(finalcode)); */
	 DecodeFile(image, bmp, finalcode); 


    return 0;
}
